package team.seekers.catering.food.entity.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 食材表
 * </p>
 *
 * @author hbc
 * @since 2022-01-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ContainNutrimentListVO implements Serializable {

    @ApiModelProperty(value = "营养素id")
    private String name;

    @ApiModelProperty(value = "含量（带单位）")
    private String amount;

    @ApiModelProperty(value = "营养素参考值")
    private String nutrimentContent;

    public ContainNutrimentListVO(String name, String amount, String nutrimentContent) {
        this.name = name;
        this.amount = amount;
        this.nutrimentContent = nutrimentContent;
    }
}
